import request from '@/utils/request'

/**
* @desc 获取圈子列表
* @param {Object}} query 
* @returns 圈子列表
*/
export function getCirlceList(query) {
  return request({
    url: '/cirlce/list',
    method: 'GET',
    params: query
  })
}


/**
 * @desc 添加圈子
 * @param {Object}} json
 * @returns 
 */
export function insertCircle(json) {
  return request({
    url: '/cirlce/insertCircle',
    method: 'POST',
    data: json
  })
}